#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "AD.h"

int main(void)
{
	OLED_Init();
	AD_Init();
	
	OLED_ShowString(1,1,"ADV1:");
	OLED_ShowString(2,1,"ADV2:");

	while(1)
	{

		OLED_ShowNum(1, 6, AD_Value[0], 5);
		OLED_ShowNum(2, 6, AD_Value[1], 5);
		Delay_ms(500);
	}
}
